package com.lhc.bean.circular;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author LuHuanCheng
 * 类说明：Autowired循环依赖
 */
@Component
@Data
public class CircularRefB {

    public CircularRefB() {
        System.out.println("循环依赖B类构造函数");
    }

    @Autowired
    private CircularRefA circularRefA;
}